import Layout from '@/layout'

const livestockRouter = {
  path: '/livestock',
  component: Layout,
  redirect: '/livestock/species',
  meta: {
    title: '牲畜',
    icon: 'livestock'
  },
  children: [{
    path: 'species',
    component: () =>
                import ('@/views/livestock/livestock-species'),
    name: 'LivestockSpecies',
    meta: { title: '品种', keepAlive: true }
  },
  {
    path: 'rujuan',
    component: () =>
                import ('@/views/livestock/livestock-rujuan'),
    name: 'LivestockRujuan',
    meta: { title: '入圈', keepAlive: true }
  },
  {
    path: 'feed',
    component: () =>
                import ('@/views/livestock/livestock-feed'),
    name: 'LivestockFeed',
    meta: { title: '饲料', keepAlive: true }
  },
  {
    path: 'yimiao',
    component: () =>
                import ('@/views/livestock/livestock-yimiao'),
    name: 'LivestockYimiao',
    meta: { title: '疫苗', keepAlive: true }
  },
  {
    path: 'quarantine',
    component: () =>
                import ('@/views/livestock/livestock-quarantine'),
    name: 'LivestockQuarantine',
    meta: { title: '检疫', keepAlive: true }
  },
  {
    path: 'slaughter',
    component: () =>
                import ('@/views/livestock/livestock-slaughter'),
    name: 'LivestockSlaughter',
    meta: { title: '屠宰', keepAlive: true }
  },
  {
    path: 'storage',
    component: () =>
                import ('@/views/livestock/livestock-storage'),
    name: 'LivestockStorage',
    meta: { title: '储存', keepAlive: true }
  }
  ]
}
export default livestockRouter
